package org.zhou.demo2;

public class ConfigManager {
    private static ConfigManager configManager = null;
    private static ConfigModel configModel = null;

    public static ConfigManager getInstance() {
        if (configManager == null) {
            configManager = new ConfigManager();

            // 加载配置信息到configManager
            configModel = new ConfigModel();
        }

        return configManager;
    }

    public ConfigModel getConfigModel() {
        return configModel;
    }
}
